#ifndef __edaContinue_h__
#define __edaContinue_h__

#include "edaSolution.h"
#include "edaSerialize.h"

/**
 * Class that describes stop criteria
 */
class edaContinue : public edaSerialize
{
 public:
  virtual ~edaContinue() {};
  virtual edaContinue *clone() const = 0;
  /**
   * Initialize the stop criterition
   */
  virtual void init() = 0;
  virtual bool check(edaSolution &sol) = 0;
  virtual void Serialize(edaBuffer &buf, bool pack) {}
};

#endif
